/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 微信群AI救援预警会话表实体类
 *
 * @author ysq
 * @since 2025-07-18
 */
@Data
@TableName("blade_rescue_notice_ai_session")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "RescueNoticeAiSession对象", description = "微信群AI救援预警会话表")
public class RescueNoticeAiSession extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 告警id
	*/
		@ApiModelProperty(value = "告警id")
		private Long noticeId;
	/**
	* 微信群聊id，对应chat_group表的group_id字段
	*/
		@ApiModelProperty(value = "微信群聊id，对应chat_group表的group_id字段")
		private String groupId;
	/**
	* 微信群聊名称，对应chat_group表的`name`字段
	*/
		@ApiModelProperty(value = "微信群聊名称，对应chat_group表的`name`字段")
		private String groupName;
	/**
	* 会话时长(秒数），字段预留了毫秒值的宽度
	*/
		@ApiModelProperty(value = "会话时长(秒数），字段预留了毫秒值的宽度")
		private Long chatTime;
	/**
	* 会话参与人数
	*/
		@ApiModelProperty(value = "会话参与人数")
		private Integer memberCount;
	/**
	* 会话参与人，顿号或其它分隔符隔开
	*/
		@ApiModelProperty(value = "会话参与人，顿号或其它分隔符隔开")
		private String member;
	/**
	* 会话开始时间
	*/
		@ApiModelProperty(value = "会话开始时间")
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
		private Date chatBeginTime;
	/**
	* 会话结束时间
	*/
		@ApiModelProperty(value = "会话结束时间")
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
		private Date chatEndTime;
	/**
	* 是否转人工：0-否 1-是
	*/
		@ApiModelProperty(value = "是否转人工：0-否 1-是")
		private Integer isConvert;
	/**
	* 人工触发方式：1-系统转人工 2-客户转人工
	*/
		@ApiModelProperty(value = "人工触发方式：1-系统转人工 2-客户转人工")
		private Integer convertType;
	/**
	* 告警名称
	*/
		@ApiModelProperty(value = "告警名称")
		private String reportName;
	/**
	* 告警来源（预留或固定值）
	*/
		@ApiModelProperty(value = "告警来源（预留或固定值）")
		private String reportSource;
	/**
	* 被困人联系方式
	*/
		@ApiModelProperty(value = "被困人联系方式")
		private String contactPhone;


}
